#!/bin/bash

PATH=/usr/local/qctool/scripts:/usr/local/dicomSummary:/usr/local/dcmtk/bin:${PATH}
export PATH

BASEDIR=`dirname $0`
java -Djava.library.path=$BASEDIR/extlibs/swt-3.3-carbon-macosx \
-XstartOnFirstThread \
-cp $BASEDIR/extlibs/mysql-connector-java-5.0.4-bin.jar:$BASEDIR/extlibs/swt-3.3-carbon-macosx/swt.jar:$BASEDIR/extlibs/log4j-1.2.15.jar:$BASEDIR/bin \
ca.mcgill.mni.bic.QcTool
